/**
 * karin 2017.03.24
 * 年检办理条件
 */
import {
	TAX_CHECK_INFO,
	VIOLATION_CHECK_INFO,
	GET_VAILL_INFO,
	CHECK_ASSOCIATED_INFO
} from "../actions/actionsTypes"

export default function taxCheckInfoReducer(state = {}, action) {
	switch (action.type) {
		case TAX_CHECK_INFO:
			return Object.assign({}, state, { taxCheckInfo: action.data });
		case VIOLATION_CHECK_INFO:
			return Object.assign({}, state, { violaCheckInfo: action.data });
		case GET_VAILL_INFO:
			return Object.assign({}, state, { getvaillInfo: action.data });
		case CHECK_ASSOCIATED_INFO:
			return Object.assign({}, state, { checkAssociatedInfo: action.data });
		default:
			return state;
	}
}